import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// element-ui
import ElementUI, { Result } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
// echarts
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
// bus
Vue.prototype.$bus = new Vue() // event Bus 用于无关系组件间的通信。

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

// import {request} from '@/network/request.js'
// request({
//   url: 'home/multidata'
// }).then(result => {
//   console.log('q请求的数据====',result)
// })
// mytest({
//   url: '/home/multidata'
// }).then(result => {
//   console.log('请求的数据====',result)
// })
